package models

import (
	"github.com/goravel/framework/database/orm"
)

type ProcessState struct {
	orm.Model
	Type       int    `gorm:"column:type" form:"type" json:"type"`
	Status     int    `gorm:"column:status;comment:1：未接单：2已接单：3维修中4：签字：5：维修班班长确认6：维修作业长签字；7：完结" form:"status" json:"status"`
	StatusName string `gorm:"column:status_name" form:"status_name" json:"status_name"`
	orm.SoftDeletes
}

func (processState *ProcessState) TableName() string {
	return "process_states"
}
